package edu.zut.cs.software.example.Menu.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import edu.zut.cs.software.example.Menu.domain.MainMenu;
import edu.zut.cs.software.example.dao.GenericDao;

@Repository
public interface MenuDao extends GenericDao<MainMenu, Long>{
	@Query(value = " SELECT mainmenu.* FROM mainmenu ", nativeQuery = true)
	public List<MainMenu> getMenus();

}
